home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / lisp / kcl / akcl / akcl1615.lha / h / ncr.h < prev    next >
C/C++ Source or Header  |  1991-05-22  |  983b  |  56 lines

  1. #define MP386
  2. #include "att.h"
  3. #include "386.h"
  4. #undef SFASL
  5. #undef LISTEN_FOR_INPUT
  6. #undef NEED_GETWD
  7.  
  8. #ifdef IN_UNIXFSYS
  9. #undef ATT
  10. #define BSD
  11. #define GETCWD
  12. #endif
  13.  
  14. #define UNIXFASL "dummyfasl.c"
  15.  
  16.  
  17. #define DBEGIN 0x8000000
  18. #undef MAXPAGE
  19. #define MAXPAGE 7000
  20. #define    IEEEFLOAT
  21.   
  22. #define I386
  23.  
  24. #define ADDITIONAL_FEATURES \
  25.              ADD_FEATURE("I386"); ADD_FEATURE("SYSTEM-V")
  26.   
  27. #undef SET_REAL_MAXPAGE  
  28. #define SET_REAL_MAXPAGE \
  29.     real_maxpage= ulimit(3)/PAGESIZE; \
  30.     if (real_maxpage > MAXPAGE) \
  31.         real_maxpage = MAXPAGE;  \
  32.   if (sbrk(0) < core_end)  brk(core_end);
  33.  
  34. /* include some low level routines for maxima */
  35. #define CMAC
  36.  
  37. #define RELOC_FILE "rel_coff.c"
  38.  
  39.  
  40. #define HAVE_ELF
  41. #define SEEK_TO_END_OFILE(fp) \
  42.    do{Elf32_Ehdr bil; \
  43.           fseek((fp),0,0); \
  44.           fread(&bil,1,sizeof(bil),(fp)); \
  45.           fseek((fp),bil.e_shoff+bil.e_shnum*(bil.e_shentsize),0);}while(0)
  46.  
  47.  
  48.  
  49.  
  50.  
  51. /* Begin for cmpinclude */
  52.  
  53.  
  54. /* End for cmpinclude */
  55. #define UNIXSAVE "unexelf.c"
  56.